package com.learnyou.server.xingzuo.dao.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.learnyou.server.xingzuo.dao.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("t_storage")
@ApiModel(value="storage存储", description="临时数据存储")
public class Storage {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "存储key")
    @TableField("storage_key")
    private String storageKey;

    @ApiModelProperty(value = "存储key")
    @TableField("storage_value")
    private String storageValue;
}
